-
Home
-
All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic
-
4.7.7.1
-
Code
-
Classes
- RobotsTxt
| Total Complexity |
94 |
| Dependencies |
2 |
| Dependents |
2 |
| Total lines |
618 |
| Lines of code |
338 |
| Logical lines of code |
195 |
| Comment lines |
196 |
| Methods |
20 |
| Properties |
1 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| extractRules() |
A |
45 |
13 |
44 |
| prepareRobotsTxt() |
A |
50 |
11 |
29 |
| mergeRulesHelper() |
A |
51 |
9 |
23 |
| stringifyRuleset() |
S |
53 |
7 |
23 |
| importPhysicalRobotsTxt() |
S |
53 |
6 |
22 |
| buildRules() |
S |
55 |
5 |
20 |
| groupRulesByUserAgent() |
S |
59 |
5 |
14 |
| sanitizeDirectiveValue() |
S |
59 |
5 |
14 |
| mergeRules() |
S |
56 |
4 |
18 |
| deletePhysicalRobotsTxt() |
S |
58 |
4 |
15 |
| checkForPhysicalFiles() |
S |
51 |
3 |
26 |
| importRobotsTxtFromUrl() |
S |
55 |
3 |
19 |
| __construct() |
S |
67 |
4 |
7 |
| importRobotsTxtFromText() |
S |
59 |
3 |
14 |
| hasPhysicalRobotsTxt() |
S |
62 |
3 |
12 |
| extractSitemapUrls() |
S |
61 |
3 |
11 |
| getDefaultRobotsTxtContent() |
S |
62 |
2 |
11 |
| rewriteRulesExist() |
S |
68 |
2 |
7 |
| parseRule() |
S |
73 |
1 |
4 |
| getSitemapRules() |
S |
72 |
1 |
5 |